package com.njitt.demo.pojo;

import lombok.Data;

@Data
public class Student {

    private Long id;

    private String name;

    private String college;

    private String major;

    private String phone;

    private String teacher;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public Student(Long id, String name, String college, String major, String phone, String teacher) {
        this.id = id;
        this.name = name;
        this.college = college;
        this.major = major;
        this.phone = phone;
        this.teacher = teacher;
    }
    public Student(){

    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", phone='" + phone + '\'' +
                ", teacher='" + teacher + '\'' +
                '}';
    }

}
